<?php

namespace Users\Form;
use Zend\InputFilter\InputFilter;


class UploadImageFilter extends InputFilter
{
	public function __construct()
	{
		$this->add(array(
				'name' => 'filename',
				'required' => true,
				'validators' => array(
						array(
								'name' => 'File/Exists',
								'options' => array(
										'directory' => '/home/bupiotr/.apps/http/__default__/0/Zf_2downloads/1.0.0/data/uploads_images/',
								),
							
						),
				),
		));
		//$this->add(array(
		//		'name' => 'label',
				
		//));
	}
}

?>